// 组件允许单个组件打包，因此默认引入公共基础样式

@import "../../base.less";

@import "./_var.less";

.@{prefix}-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: @overlay-zindex;
  background-color: @overlay-bg-color;
  transition-duration: @overlay-transition-duration;

  &-enter-from,
  &-leave-to {
    background-color: transparent;
  }

  &-enter-active,
  &-leave-active {
    transition-property: background-color;
    transition-timing-function: ease;
  }
}
